package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * 市场活动表
 * @author jinxiaozhang
 *
 */
public class Marketing implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 8835036375413833322L;
	private String id;
	private Organization organization;//创建公司
	private Person creater;//创建人
	private Person person;//负责人
	private Exhibition exhibition;//展会
	private ExhibitionVor exhibitionVor;// 问卷调研
	private String name;//市场活动名称
	private PickList type;//推广类型
	private String purpose;//推广目的
	private PickList status;//状态
	
	private Integer flag;// 10 市场推广 20 问卷调研
	private Integer languageType;
	
	private Timestamp startDate;
	private Timestamp endDate;
	private Timestamp createdStamp;
	private Timestamp lastUpdatedStamp;
	private Set<Task> tasks = new HashSet<Task>(0);
	private Set<Target> targets = new HashSet<Target>(0);
	private Set<Responses> responses = new HashSet<Responses>(0);
	private Set<MarketingBusinessRel> marketingBusinessRels = new HashSet<MarketingBusinessRel>(0);
	
	public Set<MarketingBusinessRel> getMarketingBusinessRels() {
		return marketingBusinessRels;
	}
	public void setMarketingBusinessRels(Set<MarketingBusinessRel> marketingBusinessRels) {
		this.marketingBusinessRels = marketingBusinessRels;
	}
	public Set<Target> getTargets() {
		return targets;
	}
	public void setTargets(Set<Target> targets) {
		this.targets = targets;
	}
	public Set<Task> getTasks() {
		return tasks;
	}
	public void setTasks(Set<Task> tasks) {
		this.tasks = tasks;
	}
	public Set<Responses> getResponses() {
		return responses;
	}
	public void setResponses(Set<Responses> responses) {
		this.responses = responses;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Organization getOrganization() {
		return organization;
	}
	public void setOrganization(Organization organization) {
		this.organization = organization;
	}
	public Person getCreater() {
		return creater;
	}
	public void setCreater(Person creater) {
		this.creater = creater;
	}
	public Person getPerson() {
		return person;
	}
	public void setPerson(Person person) {
		this.person = person;
	}
	public Exhibition getExhibition() {
		return exhibition;
	}
	public void setExhibition(Exhibition exhibition) {
		this.exhibition = exhibition;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPurpose() {
		return purpose;
	}
	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}
	public PickList getType() {
		return type;
	}
	public void setType(PickList type) {
		this.type = type;
	}
	public PickList getStatus() {
		return status;
	}
	public void setStatus(PickList status) {
		this.status = status;
	}
	public Timestamp getStartDate() {
		return startDate;
	}
	public void setStartDate(Timestamp startDate) {
		this.startDate = startDate;
	}
	public Timestamp getEndDate() {
		return endDate;
	}
	public void setEndDate(Timestamp endDate) {
		this.endDate = endDate;
	}
	public Timestamp getCreatedStamp() {
		return createdStamp;
	}
	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}
	public Timestamp getLastUpdatedStamp() {
		return lastUpdatedStamp;
	}
	public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
		this.lastUpdatedStamp = lastUpdatedStamp;
	}
	public Integer getLanguageType() {
		return languageType;
	}
	public void setLanguageType(Integer languageType) {
		this.languageType = languageType;
	}
	/**
	 * @return the exhibitionVor
	 */
	public ExhibitionVor getExhibitionVor() {
		return exhibitionVor;
	}
	/**
	 * @param exhibitionVor the exhibitionVor to set
	 */
	public void setExhibitionVor(ExhibitionVor exhibitionVor) {
		this.exhibitionVor = exhibitionVor;
	}
	/**
	 * @return the flag
	 */
	public Integer getFlag() {
		return flag;
	}
	/**
	 * @param flag the flag to set
	 */
	public void setFlag(Integer flag) {
		this.flag = flag;
	}
	
	
}
